package javaCode.chapter07.poly_.detail_;

public class Cat extends Animal{
    @Override
    public void eat() { //方法重写
        System.out.println("猫吃鱼");
    }
    public void catchMouse(){ //cat特有方法
        System.out.println("猫抓老鼠");
    }
}
